/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package T1.controller;

/**
 *
 * @author Cesar Frantz
 */
import java.io.Serializable;
import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;

@Named
@SessionScoped
public class GalleriaBean implements Serializable {

    private List<String> images;

    @PostConstruct
    public void init() {
        images = new ArrayList<String>();
        for (int i = 1; i <= 40; i++) {
            images.add("css/aesportivos/foto" + i + ".jpg");
        }
    }

    /**
     * @param images the images to set
     */
    public List<String> getImages() {
        return images;
    }
}
